package com.hzdl.apple.bean.cart;

import java.util.List;

/**
 * 订单实体类
 */
public class Order {

	private int OID;

	private int UID;// 用户id

	private String OrderTime;// 下订单时间
	
	private int Type;// 订单状态 :1-未支付 2-已支付（需要确认） 3-订单完成 4-取消订单 5-申请退款 6-退款完成

	private String address;//收货地址
	
	private String UAddress;//收货地址
	
	private String UPhoneNum;//收货人电话
	
	private String shr;
	
	private List<OrderItem> orderList;
	
	public String getShr() {
		return shr;
	}

	

	public Order() {
		super();
	}

	public Order(int oID, int uID, String orderTime, int type, String address, String uAddress, String uPhoneNum,
			String shr, List<OrderItem> orderList) {
		super();
		OID = oID;
		UID = uID;
		OrderTime = orderTime;
		Type = type;
		this.address = address;
		UAddress = uAddress;
		UPhoneNum = uPhoneNum;
		this.shr = shr;
		this.orderList = orderList;
	}

	public void setShr(String shr) {
		this.shr = shr;
	}

	public int getOID() {
		return OID;
	}

	public void setOID(int oID) {
		OID = oID;
	}

	public int getUID() {
		return UID;
	}

	public void setUID(int uID) {
		UID = uID;
	}

	public String getOrderTime() {
		return OrderTime;
	}

	public void setOrderTime(String orderTime) {
		OrderTime = orderTime;
	}

	public int getType() {
		return Type;
	}

	public void setType(int type) {
		Type = type;
	}

	public String getUAddress() {
		return UAddress;
	}

	public void setUAddress(String uAddress) {
		UAddress = uAddress;
	}

	public String getUPhoneNum() {
		return UPhoneNum;
	}

	public void setUPhoneNum(String uPhoneNum) {
		UPhoneNum = uPhoneNum;
	}

	public List<OrderItem> getOrderList() {
		return orderList;
	}

	public void setOrderList(List<OrderItem> orderList) {
		this.orderList = orderList;
	}

	@Override
	public String toString() {
		return "Order [OID=" + OID + ", UID=" + UID + ", OrderTime=" + OrderTime + ", Type=" + Type + ", address="
				+ UAddress + ", phoneNum=" + UPhoneNum + ", orderList=" + orderList + "]";
	}

	

	
	

}
